<script setup>
import { useRoute,useRouter } from 'vue-router';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
const route = useRoute();
const router = useRouter();  
</script>

<template>
 <div>
    <el-config-provider :locale="zhCn">
      <router-view></router-view>
    </el-config-provider>
 </div>
</template>

